//
//  UserWalletDetailsDataModel.m
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/12.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import "UserWalletDetailsDataModel.h"

//cells
#import "BCWalletDetailNormalCell.h"
#import "BCWalletDetailNormalTagCell.h"
#import "BCWalletDetailNotesCell.h"

@implementation UserWalletDetailsDataModel





- (Class)cellClass {
    if (self.tag.length) {
        return BCWalletDetailNormalTagCell.class;
    }
    if (self.notes.length) {
        return BCWalletDetailNotesCell.class;
    }
    return BCWalletDetailNormalCell.class;
}



+ (NSMutableArray *)registerCells {
    NSMutableArray *cells = [NSMutableArray array];
    //
    [cells addObject:NSStringFromClass(BCWalletDetailNormalCell.class)];
    [cells addObject:NSStringFromClass(BCWalletDetailNormalTagCell.class)];
    [cells addObject:NSStringFromClass(BCWalletDetailNotesCell.class)];
    //
    return cells;
}



@end
